package com.ss.android.article.browser.view;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

final class b extends BroadcastReceiver {
    private final Browser a;

    b(Browser arg1) {
        this.a = arg1;

    }

    public final void onReceive(Context arg3, Intent arg4) {
        if(arg4 != null && ("com.ss.android.article.browser.modifyFontSize".equals(arg4.getAction()))) {
            Browser v0 = this.a;
            if(v0.mSSWebView != null) {
                switch(v0.mPreferenceManager.getTextSize()) {
                    case 0: {
                        label_12:
                        v0.mSSWebView.getSettings().setTextZoom(80);
                        return;
                    }
                    case 1: {
                        v0.mSSWebView.getSettings().setTextZoom(100);
                        return;
                    }
                    case 2: {
                        v0.mSSWebView.getSettings().setTextZoom(120);
                        return;
                    }
                }

                return;



            }
        }
    }
}

